<%@page import="java.util.ArrayList"%>
<%@page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/taglib/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/taglib/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/taglib/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="http://displaytag.sf.net" prefix="display"%>

<!-- ******************** Localization ******************** -->
<bean:define id="name"><bean:message key="instructor.mpolicy.list.t_header.name"/></bean:define>
<bean:define id="discription"><bean:message key="instructor.mpolicy.list.t_header.discription"/></bean:define>
<bean:define id="edit"><bean:message key="instructor.mpolicy.list.t_header.edit"/></bean:define>
<bean:define id="no_items_found"><bean:message key="instructor.mpolicy.list.no_items_found"/></bean:define>

<div id="content" align="center" class="float_left">
	<display:table id="data" name="sessionScope.markPolicyForm.markPolicyList" 
		requestURI="/instructor/mark_policy.do" pagesize="50" 
		decorator="by.bsu.scs.presentation.tabledecorator.MarkPolicyDecorator"
		class="custom_table">
		
		<display:column property="name" title="<%=name%>" sortable="true" />
		<display:column property="discription" title="<%=discription%>" />
		<display:column property="editLink" title="<%=edit%>" format="" style="text-align: center;" />
		
		<display:setProperty name="paging.banner.placement" value="bottom" />
		<display:setProperty name="paging.banner.no_items_found" value="<%=no_items_found%>" />
		<display:setProperty name="paging.banner.one_item_found" value="" />
		<display:setProperty name="paging.banner.all_items_found" value="" />
		<display:setProperty name="paging.banner.some_items_found" value="" />
		<display:setProperty name="paging.banner.page.selected" value="" />
		
		<display:setProperty name="css.tr.even" value="mpolicy_tr_even" />
		<display:setProperty name="css.tr.odd" value="mpolicy_tr_odd" />
		
	</display:table>
</div>